import Vue from 'vue';
import Router from 'vue-router';
import Home from '@/components/page/Home';
import SearchLineSite from '@/components/page/SearchLineSite';
import LineDetails from '@/components/page/LineDetails';
import SiteDetails from '@/components/page/SiteDetails';
import PlanDetails from '@/components/page/PlanDetails';
import SetStart from '@/components/page/SetStart';
import SetEnd from '@/components/page/SetEnd';
import PlanList from '@/components/page/PlanList';

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/searchLineSite',
      name: 'SearchLineSite',
      component: SearchLineSite
    },
    {
      path: '/lineDetails',
      name: 'LineDetails',
      component: LineDetails
    },
    {
      path: '/siteDetails',
      name: 'SiteDetails',
      component: SiteDetails
    },
    {
      path: '/planDetails',
      name: 'PlanDetails',
      component: PlanDetails
    },
    {
      path: '/setStart',
      name: 'SetStart',
      component: SetStart
    },
    {
      path: '/setEnd',
      name: 'SetEnd',
      component: SetEnd
    },
    {
      path: '/planList',
      name: 'PlanList',
      component: PlanList
    }
  ]
});
